{extend name='admin@main'}

{block name="content"}
<div class="think-box-shadow">
    <table class="layui-table margin-top-10" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class='text-left nowrap'>来源阿姨</th>
            <th class='text-left nowrap'>地址</th>
            <th class='text-left nowrap'>类型</th>
            <th class='text-left nowrap'>金额</th>
            <th class='text-left nowrap'>收益时间</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}
        <tr data-dbclick>
            <td class="text-left nowrap relative">
                {notempty name='vo.cleaner.headimg'}
                <img data-tips-image style="width:40px;height:40px" src="{$vo.cleaner.headimg|default=''}" class="margin-right-5 text-top">
                {/notempty}
                <div class="inline-block">
                    昵称：{$vo.cleaner.nickname|default='--'}<br>
                    电话：{$vo.cleaner.phone|default='--'}<br>
                </div>
            </td>
            <td class='text-left nowrap'>{$vo.address|default='-'}</td>
            <td class='text-left nowrap'>
                {if $vo.modal == 'service'}
                <strong class="color-green">做工</strong>
                {else}
                <strong class="color-red">绑定</strong>
                {/if}
            </td>
            <td class='text-left nowrap'>
                <strong class="color-blue">{$vo.amount+0}</strong>
            </td>
            <td class='text-left nowrap'>{$vo.create_at|default='-'}</td>
        </tr>
        {/foreach}
        </tbody>
    </table>

    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

</div>

{/block}
